package com.cn.lp.export.plugin.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/** 输出的枚举值对象 */
public class EnumValueEntity implements Serializable {

    /** 名字 */
    private String name;

    /** 描述 */
    private String desc;

    /** 序号 */
    private Integer ordinal;

    private List<EnumValueFieldEntity> fieldList = new ArrayList<>();

    public void setFieldList(List<EnumValueFieldEntity> fieldList) {
        this.fieldList = fieldList;
    }

    public List<EnumValueFieldEntity> getFieldList() {
        return fieldList;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public void setOrdinal(Integer ordinal) {
        this.ordinal = ordinal;
    }

    public Integer getOrdinal() {
        return ordinal;
    }

}
